package com.example.demo.service;

import com.example.demo.mapper.StudentMapper;
import com.example.demo.model.Student;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface StudentService {
    void addStudent(Student student);
    void deleteStudentById(Integer id);
    void updateStudent(Student student);
    Student  getStudentById(Integer id);
    List<Student> selectAll();
 }